/* $$Id: RssItem.java 24 2008-01-08 16:19:22Z qxodream $$
 *
 * RssReaderMidlet --  RSS reader for J2ME(midp)
 * The original codes of this porgram is from
 * RssOwlMIDlet(zhengyun@gmail.com)
 *
 * Copyright (c) 2007-2008 QXO(qxodream@gmail.com)
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

package com.ultrapower.model;

/**
 * 类说明：对应于RSS Feed返回的每一个新闻条目的类实体，包含主题、摘要以及链接
 *
 * RssItem class is a data store for a single item in RSS feed.
 * One item consist of title, link and description.
 *
 * @author Tommi Laukkanen
 * @author QXO(qxodream@gmail.com)
 *
 */
public class RssItem {

    private String  m_title = "";   // The RSS item title
    private String  m_link  = "";   // The RSS item link
    private String  m_desc  = "";   // The RSS item description

    /** Creates a new instance of RssItem */
    public RssItem(String title, String link, String desc) {
        m_title = title;
        m_link  = link;
        m_desc  = desc;
    }

    /** Get RSS item title */
    public String getTitle(){
        return m_title;
    }
	/** Set RSS item title */
    public void setTitle(String value){
		m_title = value;
    }

    /** Get RSS item link address */
    public String getLink(){
        return m_link;
    }
	/** Set RSS item link address */
    public void setLink(String value){
        m_link = value;
    }

    /** Get RSS item description */
    public String getDescription(){
        return m_desc;
    }
	/** Set RSS item description */
    public void setDescription(String value){
		m_desc = value;
    }
}
